from utils import dir
import sys
sys.path.append(dir.up(__file__))
print "Python module lookup path:"
print "\n".join(sys.path)


from stacking.solution import Solution
from stacking.gui import StackingApp

app = StackingApp()
if len(sys.argv) > 1:
    app.main.manager.setup(Solution.load(sys.argv[1]))
app.mainloop()
